package com.ruoyi.demo.service;

import com.ruoyi.demo.domain.UserPhoto;
import org.springframework.web.multipart.MultipartFile;

public interface ITakePhotoService {
    /**
     * 保存照片
     */
    public String savePhoto(MultipartFile file, Long userId, String userName) throws Exception;
    
    /**
     * 新增照片记录
     */
    public int insertUserPhoto(UserPhoto userPhoto);
}
